package com.hxzy.shop.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * @Author: cxy
 * @Date: 2022/5/25 14:29
 * 药品说明书
 */
@Data
@TableName("ydskw_drug")
public class YdskwDrugNew implements Serializable {
    private static final long serialVersionUID = 256930590644045128L;
    /**
     * 药品id
     */
    @TableId
    private Long id;
    /**
     * 药品编码
     */
    private String drugCode;
    /**
     * 条形码
     */
    private String barCode;
    /**
     * 规格
     */
    private String specifications;
    /**
     * 药品名称
     */
    private String drugName;
    /**
     * 用药周期（天为一个疗程）
     */
    private Integer medicationCycle;
    /**
     * 用法用量
     */
    private String usageDosage;
    /**
     * 禁忌
     */
    private String taboo;
    /**
     * 注意事项
     */
    private String announcements;

    /**
     * 状态(0无效 1有效)
     */
    private Integer state;

    @TableField(exist = false)
    private List<YdskwIndicationNew> value;

    @TableField(exist = false)
    private List<Long> indications;

    @TableField(exist = false)
    private List<String> indicationName;
}
